package com.aspose.cells;

class ztg {
   private Workbook a;
   private zok b;

   ztg(zok var1) {
      this.a = var1.a;
      this.b = var1;
   }

   void a(zcfx var1) throws Exception {
      var1.b(true);
      var1.b("cp:coreProperties");
      var1.a("xmlns", "cp", (String)null, "http://schemas.openxmlformats.org/package/2006/metadata/core-properties");
      var1.a("xmlns", "dc", (String)null, "http://purl.org/dc/elements/1.1/");
      var1.a("xmlns", "dcterms", (String)null, "http://purl.org/dc/terms/");
      var1.a("xmlns", "dcmitype", (String)null, "http://purl.org/dc/dcmitype/");
      var1.a("xmlns", "xsi", (String)null, "http://www.w3.org/2001/XMLSchema-instance");
      BuiltInDocumentPropertyCollection var2 = this.a.getWorksheets().getBuiltInDocumentProperties();
      var1.b("dc:title", var2.getTitle());
      var1.b("dc:subject", var2.getSubject());
      var1.b("dc:creator", var2.getAuthor());
      var1.b("cp:keywords", var2.getKeywords());
      var1.b("dc:description", var2.getComments());
      var1.b("cp:lastModifiedBy", var2.getLastSavedBy());
      if (com.aspose.cells.a.c.zk.b(var2.getLastPrinted(), DateTime.a)) {
         var1.c("cp:lastPrinted", (String)null);
         var1.a(var2.getLastPrinted().a("yyyy-MM-dd\\THH:mm:ss\\Z", com.aspose.cells.b.a.c.za.b()));
         var1.b();
      }

      if (com.aspose.cells.a.c.zk.b(var2.getCreatedTime(), DateTime.a)) {
         var1.c("dcterms:created", (String)null);
         var1.a("xsi:type", (String)null, "dcterms:W3CDTF");
         var1.a(zyc.a(var2.getCreatedTime()));
         var1.b();
      }

      if (com.aspose.cells.a.c.zk.b(var2.getLastSavedTime(), DateTime.a)) {
         var1.c("dcterms:modified", (String)null);
         var1.a("xsi:type", (String)null, "dcterms:W3CDTF");
         var1.a(zyc.a(var2.getLastSavedTime()));
         var1.b();
      }

      var1.b("cp:category", var2.getCategory());
      var1.b("cp:contentType", var2.getContentType());
      var1.b("cp:contentStatus", var2.getContentStatus());
      if (var2.getRevisionNumber() != 0) {
         var1.b("cp:revision", zase.y(var2.getRevisionNumber()));
      }

      var1.b();
      var1.d();
      var1.e();
   }
}
